package cn.stylefeng.guns.modular.pandian.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.pandian.entity.PandianChoupanDetailed;
import cn.stylefeng.guns.modular.pandian.model.params.PandianChoupanDetailedParam;
import cn.stylefeng.guns.modular.pandian.model.result.PandianChoupanDetailedResult;

/**
 * 抽盘明细表 服务类
 */
public interface PandianChoupanDetailedService extends IService<PandianChoupanDetailed> {

    /**
     * 新增
     *
     * @author zhucx
     * @Date 2022-01-04
     */
    void add(PandianChoupanDetailedParam param);

    /**
     * 删除
     *
     * @author zhucx
     * @Date 2022-01-04
     */
    void delete(PandianChoupanDetailedParam param);

    /**
     * 更新
     *
     * @author zhucx
     * @Date 2022-01-04
     */
    void update(PandianChoupanDetailedParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author zhucx
     * @Date 2022-01-04
     */
    PandianChoupanDetailedResult findBySpec(PandianChoupanDetailedParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author zhucx
     * @Date 2022-01-04
     */
    List<PandianChoupanDetailedResult> findListBySpec(PandianChoupanDetailedParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zhucx
     * @Date 2022-01-04
     */
     LayuiPageInfo findPageBySpec(PandianChoupanDetailedParam param,String condition, Long deptId);

	List<PandianChoupanDetailedResult> historyDetailedList(PandianChoupanDetailedParam moveDiskDetailedParam);

	List<PandianChoupanDetailedResult> findPositionList(PandianChoupanDetailedParam moveDiskDetailedParam);

	LayuiPageInfo deleteList(PandianChoupanDetailedParam moveDiskDetailedParam, String condition, Long deptId,Long operateId);

	List<PandianChoupanDetailedResult> appabnormalliststaylist(PandianChoupanDetailedParam param, Long deptId,Long operateId);

	PandianChoupanDetailedResult findBySpec2(PandianChoupanDetailedParam param);

}
